package rwlivbk.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import rwlivbk.model.Dish;

import java.util.ArrayList;
import rwlivbk.model.DishFeedback;

@Mapper
@Repository
public interface DishFeedbackMapper {
    void insertDishFeedback(DishFeedback feedback);

    ArrayList<DishFeedback> getAllFeedbacks();

    ArrayList<DishFeedback> getFeedbacksByDishId(@Param("dish_id") Integer dish_id);

}
